* lisp/window.el (fit-window-to-buffer): Fix width calculation
authorMorgan Smith <Morgan.J.Smith@outlook.com>
Sun, 12 May 2024 13:19:30 +0000 (09:19 -0400)
committerEli Zaretskii <eliz@gnu.org>
Sun, 19 May 2024 08:07:09 +0000 (11:07 +0300)
commit42d444114d8df0ffddf1e80891a386c0edcbd976
treeee4d63aaf1dd5bf68fd2805fe559f61da86cacc4
parent5216903ae6c3f91ebefb1152af40753f723cbc39
* lisp/window.el (fit-window-to-buffer): Fix width calculation

When PIXELWISE is nil, we still calculate width in pixels and
then convert it to columns.  However, part of the calculation
was using columns where it should have used pixels.  (Bug#70894)
lisp/window.el